<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>system</title>
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <fieldset class="design-box layui-elem-field layui-field-title layui-col-xs12"><legend class="tips_legend">基本设置</legend></fieldset>
<div class="design-box layui-col-xs12 layui-col-md12 system_name_box {{#  if(layui.engine_form.PowerField('system_name')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">系统名称</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="system_name" id="focus_4736_1713710392175_21729" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.system_name}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 system_jwt_box {{#  if(layui.engine_form.PowerField('system_jwt')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">JWT密钥</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="system_jwt" id="focus_3bf6_1713710399348_87284" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.system_jwt}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 system_logo_box {{#  if(layui.engine_form.PowerField('system_logo')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">系统logo</label>
<div class="layui-input-block " data_tag="upimg" data_source="">
<input  name="system_logo" id="focus_5ea7_1713710406989_03600" type="hidden" readonly lay-tag="upimg" autocomplete="off"  value="{{= d.detail.system_logo}}" class="layui-input">
<div class="upfile display_flex">
<button class="pear-btn pear-btn-sm" type="button" id="upload_5ea7_1713710406989_03600"><i class="layui-icon layui-icon-addition"></i>上传图片</button>
</div>
<div class="upload_con"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 shop_url_box {{#  if(layui.engine_form.PowerField('shop_url')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">应用商店URL</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="shop_url" id="focus_7a3b_1714036259351_70572" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.shop_url}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 baidu_key_box {{#  if(layui.engine_form.PowerField('baidu_key')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">百度地图KEY</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="baidu_key" id="focus_94de_1714036260961_26774" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.baidu_key}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 app_debug_box {{#  if(layui.engine_form.PowerField('app_debug')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">调试模式</label>
<div class="layui-input-block " data_tag="radio" data_source="yesno">
{{#  layui.each(d.source.yesno.rows, function(index, item){ }}
<input type="radio"  name="app_debug" id="focus_5c73_1723518584488_01052" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.app_debug){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<fieldset class="design-box layui-elem-field layui-field-title layui-col-xs12"><legend class="tips_legend">Redis设置</legend></fieldset>
<div class="design-box layui-col-xs12 layui-col-md12 redis_host_box {{#  if(layui.engine_form.PowerField('redis_host')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">连接地址</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="redis_host" id="focus_4b1e_1713710650328_50776" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.redis_host}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 redis_port_box {{#  if(layui.engine_form.PowerField('redis_port')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">端口</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="redis_port" id="focus_2de0_1713710651655_08563" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.redis_port}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 redis_pass_box {{#  if(layui.engine_form.PowerField('redis_pass')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">密码</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="redis_pass" id="focus_6e6c_1713710653045_86725" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.redis_pass}}" class="layui-input">
</div>
</div>
<fieldset class="design-box layui-elem-field layui-field-title layui-col-xs12"><legend class="tips_legend">上传设置</legend></fieldset>
<div class="design-box layui-col-xs12 layui-col-md12 file_type_box {{#  if(layui.engine_form.PowerField('file_type')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">默认存储方式</label>
<div class="layui-input-block " data_tag="radio" data_source="upload_type">
{{#  layui.each(d.source.upload_type.rows, function(index, item){ }}
<input type="radio"  name="file_type" id="focus_806d_1713710705787_34359" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.file_type){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 file_mine_box {{#  if(layui.engine_form.PowerField('file_mine')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">允许文件类型</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="file_mine" id="focus_175e_1713710729638_19635" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.file_mine}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 file_size_box {{#  if(layui.engine_form.PowerField('file_size')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">允许文件大小</label>
<div class="layui-input-block  layui-input-group" data_tag="input" data_source="">
<input  name="file_size" id="focus_8952_1713716328187_40052" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.file_size}}" class="layui-input">
<div class="group_input group_suffix">KB</div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 file_local_box {{#  if(layui.engine_form.PowerField('file_local')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">本地存储路径</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="file_local" id="focus_6a34_1713710760685_42227" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.file_local}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 aliyun_id_box {{#  if(layui.engine_form.PowerField('aliyun_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">accessId</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="aliyun_id" id="focus_6405_1713710769771_40370" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.aliyun_id}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 aliyun_secret_box {{#  if(layui.engine_form.PowerField('aliyun_secret')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">accessSecret</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="aliyun_secret" id="focus_488d_1713710773722_31058" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.aliyun_secret}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 aliyun_bucket_box {{#  if(layui.engine_form.PowerField('aliyun_bucket')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">bucket</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="aliyun_bucket" id="focus_49ae_1713710775323_14675" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.aliyun_bucket}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 aliyun_endpoint_box {{#  if(layui.engine_form.PowerField('aliyun_endpoint')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">endpoint</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="aliyun_endpoint" id="focus_8a72_1713710772201_14377" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.aliyun_endpoint}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 aliyun_url_box {{#  if(layui.engine_form.PowerField('aliyun_url')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">url</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="aliyun_url" id="focus_7550_1713710812414_14934" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.aliyun_url}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qiniu_id_box {{#  if(layui.engine_form.PowerField('qiniu_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">accessKey</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qiniu_id" id="focus_77a5_1713711006909_71375" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qiniu_id}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qiniu_secret_box {{#  if(layui.engine_form.PowerField('qiniu_secret')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">secretKey</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qiniu_secret" id="focus_101f_1713711005089_21749" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qiniu_secret}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qiniu_bucket_box {{#  if(layui.engine_form.PowerField('qiniu_bucket')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">bucket</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qiniu_bucket" id="focus_1343_1713710999115_03859" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qiniu_bucket}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qiniu_url_box {{#  if(layui.engine_form.PowerField('qiniu_url')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">url</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qiniu_url" id="focus_50d9_1713710996881_73842" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qiniu_url}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_region_box {{#  if(layui.engine_form.PowerField('qcloud_region')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">region</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_region" id="focus_7a8c_1713711143999_24244" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_region}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_appid_box {{#  if(layui.engine_form.PowerField('qcloud_appid')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">appId</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_appid" id="focus_84b5_1713711159558_22041" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_appid}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_id_box {{#  if(layui.engine_form.PowerField('qcloud_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">secretId</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_id" id="focus_456c_1713711157718_85089" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_id}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_secret_box {{#  if(layui.engine_form.PowerField('qcloud_secret')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">secretKey</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_secret" id="focus_8dcd_1713711155893_84811" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_secret}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_bucket_box {{#  if(layui.engine_form.PowerField('qcloud_bucket')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">bucket</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_bucket" id="focus_709e_1713711154255_29162" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_bucket}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 qcloud_url_box {{#  if(layui.engine_form.PowerField('qcloud_url')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">cdn</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="qcloud_url" id="focus_88ed_1713711151958_44437" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.qcloud_url}}" class="layui-input">
</div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindUpload('5ea7_1713710406989_03600','','upimg','','','1');

    }
</script>
<script src="/static/js/setting/system/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/component/markdown/editor/marked.min.js"></script>
<script src="/static/js/setting/system/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>